package com.wfcm.service.impl;

import com.wfcm.entity.WfMemberGoldLogEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfMemberNewGoldLogDao;
import com.wfcm.entity.WfMemberNewGoldLogEntity;
import com.wfcm.service.WfMemberNewGoldLogService;



@Service("wfMemberNewGoldLogService")
public class WfMemberNewGoldLogServiceImpl implements WfMemberNewGoldLogService {
	@Autowired
	private WfMemberNewGoldLogDao wfMemberNewGoldLogDao;
	
	@Override
	public WfMemberNewGoldLogEntity queryObject(Integer id){
		return wfMemberNewGoldLogDao.queryObject(id);
	}
	
	@Override
	public List<WfMemberNewGoldLogEntity> queryList(Map<String, Object> map){
		return wfMemberNewGoldLogDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfMemberNewGoldLogDao.queryTotal(map);
	}
	
	@Override
	public void save(WfMemberNewGoldLogEntity wfMemberNewGoldLog){
		wfMemberNewGoldLogDao.save(wfMemberNewGoldLog);
	}
	
	@Override
	public void update(WfMemberNewGoldLogEntity wfMemberNewGoldLog){
		wfMemberNewGoldLogDao.update(wfMemberNewGoldLog);
	}
	@Override
	public WfMemberNewGoldLogEntity queryByOrderCode(String out_trade_no) {
		// TODO Auto-generated method stub
		return wfMemberNewGoldLogDao.queryByOrderCode(out_trade_no);
	}

	@Override
	public void delete(Integer id){
		wfMemberNewGoldLogDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfMemberNewGoldLogDao.deleteBatch(ids);
	}
	
}
